Virtual machine on ubuntu [closed]

Posted by MITHIYA MOIZ on Stack Overflow See other posts from Stack Overflow or by MITHIYA MOIZ
Published on 2010-05-30T12:22:20Z Indexed on 2010/05/30 12:32 UTC
Read the original article Hit count: 271

Filed under:
|
|

I have configured virtual machine on ubuntu with the help of below article,

https://help.ubuntu.com/9.04/serverguide/C/libvirt.html

I managed to finish all the part except the major portion getting virtual host to talk to real network, Which I guess should be done only via bridge interface.

Via virtual machine manager I try to choose any interface it gives me interface not bridged

When I try to bridge the interceface eth0 as below

  • auto br0
  • iface br0 inet static
  • address 192.168.0.223
  • network 192.168.0.0
  • netmask 255.255.255.0
  • broadcast 192.168.0.255
  • gateway 192.168.0.1
  • bridge_ports eth0
  • bridge_fd 9
  • bridge_hello 2
  • bridge_maxage 12
  • bridge_stp off

I cannot communicate with this interface to network, host server looses all the communication to network. But when I remote bridge interface from /etc/network/interfaces And configure eth0 as below it works fine

The primary network interface

  • auto eth0
  • iface eth0 inet static
  • address 192.168.0.223
  • netmask 255.255.255.0
  • network 192.168.0.0
  • broadcast 192.168.0.255
  • dns-nameservers 62.215.6.51
  • gateway 192.168.0.1

how can i setup bridge interface correctly and how would my /etc/netwrok/interfaces file would look a like.

© Stack Overflow or respective owner

Related posts about linux

Related posts about ubuntu